package com.midou.administration.mapper;

import com.midou.administration.entity.Function;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.midou.administration.entity.Role;
import com.midou.administration.entity.RoleFunction;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
public interface FunctionMapper extends BaseMapper<Function> {
    List<Function> queryFunctionUrl(@Param("rfs") List<RoleFunction> rfs);
    List<Function> roleInFunction(Integer rid);
}
